package com.xiaomaoguai.redis.sub2;

import java.util.Arrays;
import java.util.List;

/**
 * @ FileName: TaskWarningMessageDelegate.java
 * @ Author: WeiHui-Z
 * @ Date: 2017/4/21 17:34
 * @ Version: v1.0.0
 */
public class CancelTaskMessageDelegate extends AbstractMessageDelegate {

    @Override
    protected List<String> handleReceivers(String userId) throws Exception {
        return Arrays.asList(userId);
    }

    @Override
    protected Object handlePushData(String extendField) throws Exception {
        return extendField;
    }
}
